<?php

namespace app\admin\model;

use think\Model;

class Users extends Model
{
    public function getStatusAttr($value)
    {
        $status = [0 => '禁用', 1 => '正常'];
        return $status[$value];
    }

}